<?php
/**
 * XiaoYuanMenSuo-PHP
 * ==================================================================
 * CopyRight © 2017-2099 广州米袋软件有限公司
 * 官网地址：http://www.mdsoftware.cn
 * 售后技术支持：15017566075
 * ------------------------------------------------------------------
 * 这不是一个自由软件！未经本公司授权您只能在不用于商业目的的前提下
 * 对本程序代码进行修改和使用；不允许对本程序代码以任何目的的再发布。
 * ==================================================================
 *
 * @Author ZHC(codecookies@163.com)
 * @Date 2021-12-07 18:12 星期二
 * @Version 1.0
 */

return [
    'APP_VERSION'           => '5.0',
    'APP_NAME'              => 'CampusLock',

    //鉴权相关
    'USER_ADMINISTRATOR'    => [1],

    //安全秘钥
    'AUTH_KEY'              => '0ff0e8e7-ba75-2d6b-6bc2-40caa457e38e',

    //微信secret appid
    'APP_SECRET'            => 'f3d509edc44bd937360bf32f26167be6',
    'APP_ID'                => 'wxc4e0cf7818c3216d',

    //阿里大鱼短信
    'ACCESS_KEY_ID'         => 'LTAI5tFvr5K7ApbgW2qwabyA',
    'ACCESS_KEY_SECRET'     => 'nmDkpCJoyLkrizdLVo0HXhdVM1VNme',
    //短信码有效时间
    'CAPTCHA_TIME'          => 15 * 60,
    //登录状态维持时间
    'ONLINE_TIME'           => 86400,
    'COMPANY_NAME'          => '米袋软件开发公司',

    //跨域配置
    'CROSS_DOMAIN'          => [
        'Access-Control-Allow-Origin'      => '*',
        'Access-Control-Allow-Methods'     => 'POST,PUT,GET,DELETE',
        'Access-Control-Allow-Headers'     => 'Version, Access-Token, User-Token, Api-Auth, User-Agent, Keep-Alive, Origin, No-Cache, X-Requested-With, If-Modified-Since, Pragma, Last-Modified, Cache-Control, Expires, Content-Type, X-E4M-With',
        'Access-Control-Allow-Credentials' => 'true'
    ],
];